Professional Data Engineer Practice Exam — Professional Data Engineer

1. The question bank is internet‑connected and updates automatically with no need for re‑acquisition.

2. Activate the question bank to gain access in both Chinese and English simultaneously.

3. Features include online practice, mock exams, and PDF downloads.

4. Study and practice via mini‑program or web browser on PC; valid for one year.

5. Simply enter the activation code to use. Click Buy Now on the right or contact customer service for purchase.

6. For inquiries, contact customer service via WeChat, WhatsApp or Line.

Exam information

Professional Data Engineer

- Exam Languages: English, Japanese, Korean, Spanish

- Exam Fee: $200

- Duration: 120 minutes

- Question Type: 50–60 multiple‑choice and multiple‑select questions

- Passing Score: Approximately 70%

- Certificate Validity: 2 years

- Official Registration Link: https://cloud.google.com/certification/data-engineer

- Focus: Big data pipelines, ETL, data lakes, data warehouses and BI analysis architecture

Sample questions

Professional Data Engineer · Q1
Topic 1 Question #1 Your company built a TensorFlow neutral-network model with a large number of neurons and layers. The model fits well for the training data. However, when tested against new data, it performs poorly. What method can you employ to address this?
  • A.
    Threading
  • B.
    Serialization
  • C.
    Dropout Methods
  • D.
    Dimensionality Reduction

Answer: C

The scenario describes a classic case of overfitting in deep learning: a high-capacity neural network with many layers and neurons performs well on training data but poorly on unseen test data, as it has memorized noise and idiosyncratic patterns in the training set instead of learning generalizable relationships. Dropout Methods are a regularization technique specifically designed to mitigate overfitting in neural networks. During training, dropout randomly deactivates a predefined percentage of neurons in selected layers for each training batch, which prevents neurons from co-adapting to redundant, training-specific patterns and forces the model to learn robust, transferable features. This directly improves out-of-sample performance without degrading the existing good fit on training data, making it the correct solution for the described scenario, and aligns with machine learning best practices tested in the Professional Data Engineer certification. Option Analysis: A. Threading is a concurrency optimization technique used to improve computational efficiency and resource utilization during model training or inference. It has no impact on model generalization or ability to perform on unseen data, so this option is incorrect. B. Serialization is the process of converting a trained TensorFlow model into a portable, storable format such as the SavedModel format for deployment or sharing. It does not modify model behavior, performance, or generalization, so this option is incorrect. C. Dropout Methods are a targeted regularization technique for deep neural networks that directly addresses overfitting by reducing neuron co-adaptation during training and improving generalizability to unseen data. This exactly resolves the problem described in the scenario, so this option is correct. D. Dimensionality Reduction reduces the number of input features fed to the model, which can reduce overfitting in some traditional machine learning use cases but is not a primary solution for overfitting caused by excessive neural network capacity, which is the root cause in this scenario. Additionally, reducing input dimensionality may degrade the already good fit on training data unnecessarily, so this option is incorrect. Key Concepts: 1. Overfitting: A core machine learning concept describing the gap between strong training performance and weak out-of-sample performance, caused by excessive model complexity relative to training data size leading to memorization of training noise rather than general pattern learning. This is a foundational concept tested across all machine learning related domains in the Professional Data Engineer exam. 2. Dropout Regularization: A neural network-specific regularization technique that randomly disables a fraction of neurons during each training iteration to reduce over-reliance on individual neurons or co-adapted neuron groups, improving model generalization. This is a standard best practice for optimizing deep learning models covered in the certification. 3. Model Generalization: The ability of a trained machine learning model to produce accurate outputs on previously unseen data, a critical requirement for production-ready models and a key evaluation metric for all machine learning workflows covered in the Professional Data Engineer exam. References: TensorFlow Guide: Overfit and Underfit, https://www.tensorflow.org/tutorials/keras/overfit_and_underfit Google Machine Learning Crash Course: Dropout
Professional Data Engineer · Q2
Topic 1 Question #2 You are building a model to make clothing recommendations. You know a user's fashion preference is likely to change over time, so you build a data pipeline to stream new data back to the model as it becomes available. How should you use this data to train the model?
  • A.
    Continuously retrain the model on just the new data.
  • B.
    Continuously retrain the model on a combination of existing data and the new data.
  • C.
    Train on the existing data while using the new data as your test set.
  • D.
    Train on the new data while using the existing data as your test set.

Answer: B

The scenario describes a clothing recommendation use case where user fashion preferences evolve over time, a form of temporal concept drift that requires ongoing model updates to maintain recommendation accuracy. The suggested answer B is correct because continuous retraining on a combination of existing historical data and new incoming streaming data addresses two core challenges for this use case: first, it enables the model to learn new emerging preference patterns from fresh data, and second, it prevents catastrophic forgetting, a phenomenon where the model loses knowledge of long-term valid patterns such as recurring seasonal trends or consistent preferences of long-tenured users if trained only on new data. This approach aligns with standard MLOps and data engineering best practices for dynamic machine learning workloads, a core domain knowledge area for professional data engineer certifications. Option Analysis: A. Incorrect. Retraining exclusively on new data causes catastrophic forgetting, where the model erases all learned relevant patterns from historical data, such as recurring seasonal fashion trends or consistent preferences of long-term users. This leads to significant performance degradation for established user segments and poor generalization across the full user population. B. Correct. Combining existing historical data and new streaming data for continuous retraining balances the need to adapt to evolving user fashion preferences to address concept drift, while retaining previously learned valid patterns to avoid catastrophic forgetting. This approach ensures the model maintains high recommendation relevance for both new and existing users, and aligns with certified MLOps best practices for continuous model improvement for dynamic use cases. C. Incorrect. Using new data only as a test set does not update the model to learn emerging user preferences, so the model will become progressively stale as fashion trends evolve. This fails to meet the core requirement of adapting to changing user preferences over time, leading to steadily declining recommendation accuracy. D. Incorrect. Training only on new data and testing on existing historical data leads to catastrophic forgetting of long-term relevant patterns, and the test set is not representative of real-world inference traffic, which includes a mix of new and existing user behaviors. This results in unreliable performance metrics and poor production model performance for established user segments. Key Concepts: 1. Concept Drift: A core machine learning concept referring to changes in the statistical properties of the target variable over time. In this scenario, shifting user fashion preferences are a form of temporal concept drift that requires regular model updates to maintain performance. 2. Catastrophic Forgetting: A common limitation of machine learning models where training exclusively on new data erases previously learned relevant patterns from historical data. This risk is mitigated by including historical data during retraining cycles. 3. Continuous Model Training (MLOps): A standard data engineering and MLOps practice for dynamic use cases, where models are automatically retrained on an ongoing basis with a combination of historical and fresh data to sustain performance as real-world patterns change. References: 1. MLOps: Continuous delivery and automation pipelines in machine learning, https://cloud.google.com/architecture/mlops-continuous-delivery-and-automation-pipelines-in-machine-learning#continuous_training 2. AWS Well-Architected Framework Machine Learning Lens: Recommendation Systems, https://docs.aws.amazon.com/wellarchitected/latest/machine-learning-lens/recommendation-systems.html
Professional Data Engineer · Q3
Topic 1 Question #3 You designed a database for patient records as a pilot project to cover a few hundred patients in three clinics. Your design used a single database table to represent all patients and their visits, and you used self-joins to generate reports. The server resource utilization was at 50%. Since then, the scope of the project has expanded. The database must now store 100 times more patient records. You can no longer run the reports, because they either take too long or they encounter errors with insufficient compute resources. How should you adjust the database design?
  • A.
    Add capacity (memory and disk space) to the database server by the order of 200.
  • B.
    Shard the tables into smaller ones based on date ranges, and only generate reports with prespecified date ranges.
  • C.
    Normalize the master patient-record table into the patient table and the visits table, and create other necessary tables to avoid self-join.
  • D.
    Partition the table into smaller tables, with one for each clinic. Run queries against the smaller table pairs, and use unions for consolidated reports.

Answer: C

The root cause of the performance issue in this scenario is the original denormalized schema design that combines two logically distinct entities, patients and their visits, into a single table, requiring computationally expensive self-joins to generate reports. As the dataset grows 100x, self-joins on a single large table result in exponentially increasing query latency and resource consumption, as the database must scan the full table multiple times per query. The suggested answer, normalization, directly addresses this root cause by splitting the single denormalized table into separate, logically aligned tables (patient, visits, and other supporting tables) with defined primary and foreign key relationships. This eliminates the need for self-joins entirely, reduces redundant data storage, allows for targeted indexing of join keys, and drastically reduces the volume of data scanned during report generation. This approach is a scalable, cost-effective solution aligned with core data engineering schema design best practices, rather than relying on brute force infrastructure adjustments that do not resolve underlying inefficiencies. Option Analysis: A. Incorrect. Adding 200x server capacity is a brute force, cost-ineffective approach that fails to address the root cause of the performance issue: inefficient self-joins resulting from poor schema design. As the dataset continues to grow over time, query performance will degrade further even with added capacity, making this an unsustainable solution that violates data engineering best practices for performance optimization. B. Incorrect. Sharding by date range and restricting reports to predefined date ranges does not eliminate the performance overhead of self-joins on each individual shard, and unnecessarily limits business functionality by restricting report parameters. This approach avoids resolving the underlying schema flaw, so it is not an optimal or scalable solution. C. Correct. Normalizing the single denormalized table into separate tables for patients, visits, and related entities removes the requirement for expensive self-joins entirely. Normalization reduces data redundancy, enables efficient indexing of primary and foreign key join columns, reduces the volume of data scanned during query execution, and scales sustainably as the dataset grows. This directly resolves the root cause of poor report performance, aligning with relational database design best practices for data engineering. D. Incorrect. Partitioning the table by clinic does not eliminate the need for self-joins on each per-clinic table, so the core performance inefficiency remains. Additionally, union operations for consolidated reports add extra query overhead, and this approach does not address the fundamental flaw of the original denormalized schema design. Key Concepts: 1. Relational Database Normalization: The process of structuring a relational schema to reduce data redundancy and improve integrity by splitting large, multi-entity tables into smaller, logically distinct tables with defined foreign key relationships. Eliminating expensive self-joins via proper normalization is a core schema optimization skill for data engineers. 2. Root Cause Performance Optimization: A foundational data engineering principle that prioritizes resolving underlying design flaws such as inefficient schema over brute force infrastructure scaling to address performance issues, as this delivers more sustainable, cost-effective results. 3. Relational Schema Entity Alignment: Designing database tables to map to distinct business entities for example one table for patients, one for visits rather than combining multiple entities into a single table ensures efficient join operations and scalable performance as dataset size increases. References: Google Cloud Best Practices for Relational Database Schema Design, Microsoft Learn Database Normalization Description, https://learn.microsoft.com/en-us/office/troubleshoot/access/database-normalization-description
Professional Data Engineer · Q4
Topic 1 Question #4 You create an important report for your large team in Google Data Studio 360. The report uses Google BigQuery as its data source. You notice that visualizations are not showing data that is less than 1 hour old. What should you do?
  • A.
    Disable caching by editing the report settings.
  • B.
    Disable caching in BigQuery by editing table details.
  • C.
    Refresh your browser tab showing the visualizations.
  • D.
    Clear your browser history for the past hour then reload the tab showing the virtualizations.

Answer: A

The core issue in this scenario is the default server-side caching enabled for Google Data Studio 360 (now Looker Studio) reports. By default, Data Studio caches query results from connected data sources including BigQuery for a default duration of 1 hour for most BigQuery use cases, to reduce query costs, improve report load performance, and minimize redundant queries to underlying data sources. This cached data is served to users instead of running fresh queries against BigQuery, so any data ingested into BigQuery within the past hour will not appear in reports until the cache refreshes. Disabling report-level caching removes this pre-fetched stored data, forcing Data Studio to run a new direct query against BigQuery every time the report is accessed, which returns all available data including records less than 1 hour old. This aligns with Google Cloud data engineering best practices for balancing performance, cost, and data freshness requirements for business intelligence reporting. Option Analysis: A. Correct. Data Studio's report-level caching is the root cause of stale data under 1 hour old not appearing. Disabling this setting in report configuration forces fresh queries to BigQuery for every report load, ensuring the latest available data is displayed. This directly addresses the described issue without unnecessary changes to underlying data sources or client-side settings. B. Incorrect. BigQuery does not have table-level caching settings that control Data Studio's independent server-side cache. BigQuery's internal query result caching is a separate feature that stores identical query results for 24 hours only if the underlying table data has not changed, and it operates behind Data Studio's cache layer. Modifying BigQuery table details will not override Data Studio's cached results, so this option does not resolve the problem. C. Incorrect. Refreshing the browser tab only reloads the client-side report interface, it does not bypass Data Studio's server-side cache. If cached data is still valid per the report's cache settings, Data Studio will continue to serve the stale 1-hour-old data even after a browser refresh, so this action does not fix the issue. D. Incorrect. Clearing local browser history only removes client-side cached assets like page elements, cookies, and local storage. The stale report data is stored in Data Studio's server-side cache, not the end user's local browser cache, so this action has no impact on the data returned for the report visualizations. Key Concepts: 1. Looker Studio (Data Studio) Report Caching: Looker Studio uses server-side caching of data source query results by default to reduce load times and lower data processing costs, with configurable cache durations per report. Disabling this cache is required for use cases that demand real-time or near-real-time data freshness. 2. Cache Layer Differentiation in GCP BI Workflows: Business intelligence stacks using Looker Studio and BigQuery have three distinct cache layers: client-side browser cache, Looker Studio server-side report cache, and BigQuery internal query result cache. Each layer has separate controls, and data freshness issues require adjusting the appropriate layer's settings. 3. BigQuery and Looker Studio Integration: When BigQuery is used as a Looker Studio data source, queries are first evaluated against Looker Studio's cache before being sent to BigQuery. This means Looker Studio cache settings take precedence over BigQuery's internal caching for report data freshness. References: Data freshness and caching, https://support.google.com/looker-studio/answer/7020039?hl=en Connect to BigQuery, https://support.google.com/looker-studio/answer/6370296?hl=en
Professional Data Engineer · Q5
Topic 1 Question #5 An external customer provides you with a daily dump of data from their database. The data flows into Google Cloud Storage GCS as comma-separated values(CSV) files. You want to analyze this data in Google BigQuery, but the data could have rows that are formatted incorrectly or corrupted. How should you build this pipeline?
  • A.
    Use federated data sources, and check data in the SQL query.
  • B.
    Enable BigQuery monitoring in Google Stackdriver and create an alert.
  • C.
    Import the data into BigQuery using the gcloud CLI and set max_bad_records to 0.
  • D.
    Run a Google Cloud Dataflow batch pipeline to import the data into BigQuery, and push errors to another dead-letter table for analysis.

Answer: D

The scenario requires a resilient data pipeline to ingest daily CSV files from GCS into BigQuery while handling incorrectly formatted or corrupted rows without full pipeline failure, and enabling analysis of bad records. The suggested answer D aligns with core Professional Data Engineer certification requirements for building fault-tolerant ETL pipelines. Cloud Dataflow is a managed, serverless Apache Beam service optimized for batch processing of untrusted external data, with native support for record-level validation and error routing. Pushing corrupted rows to a dead-letter table preserves all bad records for root cause analysis, while valid records are successfully loaded into BigQuery for immediate use, meeting all requirements of the use case. Option Analysis: A. Incorrect. Federated data sources allow querying CSV data directly in GCS without loading it into BigQuery, but this approach has significant limitations for this use case. Custom SQL validation logic is inefficient to maintain for daily repeated analysis, does not automatically route bad records for separate analysis, and delivers worse query performance compared to data loaded natively into BigQuery's optimized storage. This approach also does not resolve the data quality issue for downstream users, who would have to account for bad rows in every query. B. Incorrect. BigQuery monitoring in Cloud Monitoring (formerly Stackdriver) only provides alerts after an issue such as a load failure occurs, it does not proactively handle corrupted rows or prevent pipeline failure. This is a monitoring solution, not a pipeline design that addresses the core requirement of processing valid data even when bad records are present. C. Incorrect. Setting max_bad_records to 0 for gcloud CLI BigQuery loads configures the load job to fail entirely if even a single corrupted row is present. This would result in frequent, avoidable pipeline failures for the daily ingestion workflow, and provides no mechanism to capture and analyze the corrupted rows that caused the failure, which violates the use case requirements. D. Correct. A Cloud Dataflow batch pipeline is purpose-built for scalable, fault-tolerant ETL workloads integrating GCS and BigQuery. The pipeline can parse CSV records, apply schema and formatting validation, route valid records to the target BigQuery table, and push all invalid or corrupted records to a separate dead-letter table for later quality analysis. This design ensures no valid data is lost, bad records are preserved for review, and the pipeline does not fail completely when encountering malformed data, fully addressing the scenario requirements. Key Concepts: 1. Dead-Letter Queue (DLQ) Pattern: A core data engineering design pattern for resilient pipelines that routes unprocessable, invalid, or corrupted records to a separate storage location instead of causing full pipeline failure, enabling later root cause analysis of data quality issues. 2. Cloud Dataflow Batch Processing: A managed serverless service for running Apache Beam batch ETL pipelines, which provides native integration with GCS, BigQuery, and built-in support for record-level error handling, making it ideal for ingestion of untrusted external data. 3. BigQuery Ingestion Tradeoffs: Professional Data Engineer candidates are expected to evaluate ingestion methods including federated queries, one-time CLI loads, and ETL pipelines based on requirements for data quality, error handling, query performance, and pipeline reliability. References: Process Dataflow jobs with dead-letter queues, Loading CSV data from Cloud Storage, https://cloud.google.com/bigquery/docs/loading-data-cloud-storage-csv

FAQ

How many practice questions are available for Professional Data Engineer?

This question bank includes 349 Professional Data Engineer practice questions covering single and multiple choice, each with answers and explanations.

Are Professional Data Engineer practice questions available in Chinese and English?

Yes, Professional Data Engineer practice questions are provided in both Chinese and English.

Can I try Professional Data Engineer practice questions for free?

Yes. Free sample questions are available on this page, and the full question bank is available after signing up on Zhangxuetu.